package org.sdp.pearproject.controller;


import org.sdp.pearproject.dto.request.*;
import org.sdp.pearproject.dto.response.*;
import org.sdp.pearproject.service.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.util.Date;
import java.util.List;

/**
 * @ClassName: ProjectLogSuperController
 * @Description:
 * @Author: SDP
 * @Date: 2022-11-14
 * @Version: 1.0
 * Table: pear_project_log
 * Comment:
 * 项目日志表
 */
public class ProjectLogSuperController extends BaseController {
    @Autowired
    ProjectLogService service;

    public Integer addProjectLog(ProjectLogAddRequest request) throws Exception {
        return service.addProjectLog(request);
    }

    public Integer updateProjectLog(ProjectLogUpdateRequest request) throws Exception {
        return service.updateProjectLog(request);
    }

    public Integer deleteProjectLog(ProjectLogDeleteRequest request) throws Exception {
        return service.deleteProjectLog(request);
    }

    public ProjectLogQueryResponse queryProjectLog(ProjectLogQueryRequest request) throws Exception {
        return service.queryProjectLog(request);
    }

    public List<ProjectLogQueryResponse> listProjectLog(ProjectLogQueryRequest request) throws Exception {
        return service.listProjectLog(request);
    }

    public Integer countProjectLog(ProjectLogQueryRequest request) throws Exception {
        return service.countProjectLog(request);
    }

    public BaseStatResponse statProjectLog(ProjectLogQueryRequest request) throws Exception {
        return service.statProjectLog(request);
    }


}
